{extend name="layout/layout" /}


{block name="style"}
<link rel="stylesheet" href="__RES__/css/page.css">
{/block}

{block name="content"}
<div class="am-cf am-padding am-padding-bottom-0">
    <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">用户管理</strong> / <small>列表</small></div>
</div>

<hr>

<div class="am-g">
    <div class="am-u-sm-12">

        <a href="__URL__/adduser" class="am-btn am-btn-primary am-btn-xs">+添加用户+</a>

        <table class="am-table am-table-striped am-table-hover table-main">
            <thead>
            <tr>
                <th class="table-id">ID</th>
                <th class="table-title">用户名</th>
                <th class="table-type">备注</th>
                <th class="table-author am-hide-sm-only">-</th>
                <th class="table-date am-hide-sm-only">更新时间</th>
                <th class="table-set">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name='datas' id='item'}
            <tr>


                <td> {$item.id}</td>
                <td>{$item.username}</td>
                <td>{$item.remark}</td>

                <td>-</td>
                <td>{$item.update_time}</td>
                <td><a href="__URL__/deluser/id/{$item.id}">删除</a></td>
            </tr>
            {/volist}
            </tbody>
        </table>
        <div class="am-cf">

            <div class="am-fr digg">
                {$datas->render()|raw}
            </div>
        </div>


    </div>
</div>
{/block}